3.4.36 \(\int (a x^m+b x^{1+6 m})^5 \, dx\) [336]

Optimal. Leaf size=27 \[ \frac {\left (a+b x^{1+5 m}\right )^6}{6 b (1+5 m)} \]

[Out]

1/6*(a+b*x^(1+5*m))^6/b/(1+5*m)

________________________________________________________________________________________

Rubi [A]
time = 0.01, antiderivative size = 27, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.118, Rules used = {1607, 267} \begin {gather*} \frac {\left (a+b x^{5 m+1}\right )^6}{6 b (5 m+1)} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(a*x^m + b*x^(1 + 6*m))^5,x]

[Out]

(a + b*x^(1 + 5*m))^6/(6*b*(1 + 5*m))

Rule 267

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[(a + b*x^n)^(p + 1)/(b*n*(p + 1)), x] /; FreeQ
[{a, b, m, n, p}, x] && EqQ[m, n - 1] && NeQ[p, -1]

Rule 1607

Int[(u_.)*((a_.)*(x_)^(p_.) + (b_.)*(x_)^(q_.))^(n_.), x_Symbol] :> Int[u*x^(n*p)*(a + b*x^(q - p))^n, x] /; F
reeQ[{a, b, p, q}, x] && IntegerQ[n] && PosQ[q - p]

Rubi steps

\begin {align*} \int \left (a x^m+b x^{1+6 m}\right )^5 \, dx &=\int x^{5 m} \left (a+b x^{1+5 m}\right )^5 \, dx\\ &=\frac {\left (a+b x^{1+5 m}\right )^6}{6 b (1+5 m)}\\ \end {align*}

________________________________________________________________________________________

Mathematica [B] Leaf count is larger than twice the leaf count of optimal. \(88\) vs. \(2(27)=54\).
time = 0.05, size = 88, normalized size = 3.26 \begin {gather*} \frac {x^{1+5 m} \left (6 a^5+15 a^4 b x^{1+5 m}+20 a^3 b^2 x^{2+10 m}+15 a^2 b^3 x^{3+15 m}+6 a b^4 x^{4+20 m}+b^5 x^{5+25 m}\right )}{6+30 m} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(a*x^m + b*x^(1 + 6*m))^5,x]

[Out]

(x^(1 + 5*m)*(6*a^5 + 15*a^4*b*x^(1 + 5*m) + 20*a^3*b^2*x^(2 + 10*m) + 15*a^2*b^3*x^(3 + 15*m) + 6*a*b^4*x^(4
+ 20*m) + b^5*x^(5 + 25*m)))/(6 + 30*m)

________________________________________________________________________________________

Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(125\) vs. \(2(25)=50\).
time = 0.40, size = 126, normalized size = 4.67

method result size
risch \(\frac {b^{5} x^{6} x^{30 m}}{6+30 m}+\frac {a \,b^{4} x^{5} x^{25 m}}{1+5 m}+\frac {5 a^{2} b^{3} x^{4} x^{20 m}}{2 \left (1+5 m \right )}+\frac {10 a^{3} b^{2} x^{3} x^{15 m}}{3 \left (1+5 m \right )}+\frac {5 a^{4} b \,x^{2} x^{10 m}}{2 \left (1+5 m \right )}+\frac {a^{5} x \,x^{5 m}}{1+5 m}\) \(126\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a*x^m+b*x^(1+6*m))^5,x,method=_RETURNVERBOSE)

[Out]

1/6*b^5*x^6/(1+5*m)*(x^m)^30+a*b^4*x^5/(1+5*m)*(x^m)^25+5/2*a^2*b^3*x^4/(1+5*m)*(x^m)^20+10/3*a^3*b^2*x^3/(1+5
*m)*(x^m)^15+5/2*a^4*b*x^2/(1+5*m)*(x^m)^10+a^5/(1+5*m)*x*(x^m)^5

________________________________________________________________________________________

Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 121 vs. \(2 (25) = 50\).
time = 0.27, size = 121, normalized size = 4.48 \begin {gather*} \frac {b^{5} x^{30 \, m + 6}}{6 \, {\left (5 \, m + 1\right )}} + \frac {a b^{4} x^{25 \, m + 5}}{5 \, m + 1} + \frac {5 \, a^{2} b^{3} x^{20 \, m + 4}}{2 \, {\left (5 \, m + 1\right )}} + \frac {10 \, a^{3} b^{2} x^{15 \, m + 3}}{3 \, {\left (5 \, m + 1\right )}} + \frac {5 \, a^{4} b x^{10 \, m + 2}}{2 \, {\left (5 \, m + 1\right )}} + \frac {a^{5} x^{5 \, m + 1}}{5 \, m + 1} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a*x^m+b*x^(1+6*m))^5,x, algorithm="maxima")

[Out]

1/6*b^5*x^(30*m + 6)/(5*m + 1) + a*b^4*x^(25*m + 5)/(5*m + 1) + 5/2*a^2*b^3*x^(20*m + 4)/(5*m + 1) + 10/3*a^3*
b^2*x^(15*m + 3)/(5*m + 1) + 5/2*a^4*b*x^(10*m + 2)/(5*m + 1) + a^5*x^(5*m + 1)/(5*m + 1)

________________________________________________________________________________________

Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 93 vs. \(2 (25) = 50\).
time = 1.68, size = 93, normalized size = 3.44 \begin {gather*} \frac {b^{5} x^{6} x^{30 \, m} + 6 \, a b^{4} x^{5} x^{25 \, m} + 15 \, a^{2} b^{3} x^{4} x^{20 \, m} + 20 \, a^{3} b^{2} x^{3} x^{15 \, m} + 15 \, a^{4} b x^{2} x^{10 \, m} + 6 \, a^{5} x x^{5 \, m}}{6 \, {\left (5 \, m + 1\right )}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a*x^m+b*x^(1+6*m))^5,x, algorithm="fricas")

[Out]

1/6*(b^5*x^6*x^(30*m) + 6*a*b^4*x^5*x^(25*m) + 15*a^2*b^3*x^4*x^(20*m) + 20*a^3*b^2*x^3*x^(15*m) + 15*a^4*b*x^
2*x^(10*m) + 6*a^5*x*x^(5*m))/(5*m + 1)

________________________________________________________________________________________

Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 178 vs. \(2 (19) = 38\).
time = 35.48, size = 178, normalized size = 6.59 \begin {gather*} \begin {cases} \frac {6 a^{5} x x^{5 m}}{30 m + 6} + \frac {15 a^{4} b x^{2} x^{10 m}}{30 m + 6} + \frac {20 a^{3} b^{2} x^{3} x^{15 m}}{30 m + 6} + \frac {15 a^{2} b^{3} x^{4} x^{20 m}}{30 m + 6} + \frac {6 a b^{4} x^{5} x^{25 m}}{30 m + 6} + \frac {b^{5} x^{6} x^{30 m}}{30 m + 6} & \text {for}\: m \neq - \frac {1}{5} \\a^{5} \log {\left (x \right )} + 5 a^{4} b \log {\left (x \right )} + 10 a^{3} b^{2} \log {\left (x \right )} + 10 a^{2} b^{3} \log {\left (x \right )} + 5 a b^{4} \log {\left (x \right )} + b^{5} \log {\left (x \right )} & \text {otherwise} \end {cases} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a*x**m+b*x**(1+6*m))**5,x)

[Out]

Piecewise((6*a**5*x*x**(5*m)/(30*m + 6) + 15*a**4*b*x**2*x**(10*m)/(30*m + 6) + 20*a**3*b**2*x**3*x**(15*m)/(3
0*m + 6) + 15*a**2*b**3*x**4*x**(20*m)/(30*m + 6) + 6*a*b**4*x**5*x**(25*m)/(30*m + 6) + b**5*x**6*x**(30*m)/(
30*m + 6), Ne(m, -1/5)), (a**5*log(x) + 5*a**4*b*log(x) + 10*a**3*b**2*log(x) + 10*a**2*b**3*log(x) + 5*a*b**4
*log(x) + b**5*log(x), True))

________________________________________________________________________________________

Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 93 vs. \(2 (25) = 50\).
time = 0.50, size = 93, normalized size = 3.44 \begin {gather*} \frac {b^{5} x^{6} x^{30 \, m} + 6 \, a b^{4} x^{5} x^{25 \, m} + 15 \, a^{2} b^{3} x^{4} x^{20 \, m} + 20 \, a^{3} b^{2} x^{3} x^{15 \, m} + 15 \, a^{4} b x^{2} x^{10 \, m} + 6 \, a^{5} x x^{5 \, m}}{6 \, {\left (5 \, m + 1\right )}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a*x^m+b*x^(1+6*m))^5,x, algorithm="giac")

[Out]

1/6*(b^5*x^6*x^(30*m) + 6*a*b^4*x^5*x^(25*m) + 15*a^2*b^3*x^4*x^(20*m) + 20*a^3*b^2*x^3*x^(15*m) + 15*a^4*b*x^
2*x^(10*m) + 6*a^5*x*x^(5*m))/(5*m + 1)

________________________________________________________________________________________

Mupad [B]
time = 5.44, size = 124, normalized size = 4.59 \begin {gather*} \frac {b^5\,x^{30\,m}\,x^6}{30\,m+6}+\frac {a^5\,x\,x^{5\,m}}{5\,m+1}+\frac {5\,a^4\,b\,x^{10\,m}\,x^2}{10\,m+2}+\frac {a\,b^4\,x^{25\,m}\,x^5}{5\,m+1}+\frac {5\,a^2\,b^3\,x^{20\,m}\,x^4}{10\,m+2}+\frac {10\,a^3\,b^2\,x^{15\,m}\,x^3}{15\,m+3} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a*x^m + b*x^(6*m + 1))^5,x)

[Out]

(b^5*x^(30*m)*x^6)/(30*m + 6) + (a^5*x*x^(5*m))/(5*m + 1) + (5*a^4*b*x^(10*m)*x^2)/(10*m + 2) + (a*b^4*x^(25*m
)*x^5)/(5*m + 1) + (5*a^2*b^3*x^(20*m)*x^4)/(10*m + 2) + (10*a^3*b^2*x^(15*m)*x^3)/(15*m + 3)

________________________________________________________________________________________